package com.yunxi.vehicle.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.vehicle.pojo.VehicleProductVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 生产车型 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-11
 */
public interface VehicleProductDubboService {

    VehicleProductVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    ApiResult saveOrUpdate(VehicleProductVO vehicleProductVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    void del(VehicleProductVO vehicleProductVO);

    List productList();

    PageInfo<VehicleProductVO> findPageByVO(VehicleProductVO vehicleProductVO, Integer pageNum, Integer pageSize);

    void removeByListVo(List<VehicleProductVO> list);
}
